<template>
  <view class="deco-problem-footer-button" :style="[innerStyle]">
    <zm-footer z-index="2" background="#ffffff">
      <view class="grid grid-cols-2 gap-x-30 px-24 py-30">
        <zm-button size="medium" text-size="32rpx" text-weight="500" round plain @click="feekbackJump">意见反馈</zm-button>
        <zm-button size="medium" text-size="32rpx" text-weight="500" round @click="useServiceJump">在线客服</zm-button>
      </view>
    </zm-footer>
  </view>
</template>

<script>
import mixin from "@/decoration/mixins"
export default {
  name: "deco-problem-footer-button",
  mixins: [mixin],
  data() {
    return {}
  },
  computed: {},
  created() {},
  mounted() {},
  methods: {
    feekbackJump() {
      uni.$toView({
        url: "pages/person/feedback/feedback"
      })
    },
    onClickProblem(data) {
      uni.$toView({
        url: "pages/person/problem-info/problem-info",
        params: {
          problem: data.problem,
          problemId: data.problemId
        }
      })
    }
  }
}
</script>

<style lang="scss" scoped>
.deco-problem-footer-button {
  width: 100%;
}
</style>
